package aeolus.wind.spider.biz.service.interfaces;

import java.util.List;

import aeolus.wind.spider.biz.dataobject.Ability;
import aeolus.wind.spider.biz.dataobject.AbilityPackage;

public interface AbilityService {

    // ability
    public List<Ability> listAbilities(String identityName);

    public Ability findAbility(String abilityId);

    public void saveAbility(Ability ability);

    public void deleteAbility(String id);

    // package

    public List<AbilityPackage> listAbilityPackages(String identityName);

    public AbilityPackage findAbilityPackage(String abilityPackageId);

    public AbilityPackage findAbilityPackageByName(String identityName, String abilityPackageName);

    public void saveAbilityPackage(AbilityPackage abilityPackage);

    public void deleteAbilityPackage(String id);

}
